package com.example.vo.process;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 出差详情类
 * @author wsl
 */
@Data
@ApiModel("出差详情实例")
@Accessors(chain = true)
public class EvectionDetailVo {

    @ApiModelProperty("节点名称")
    private String nodeName;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date endTime;

    @ApiModelProperty("所用时长")
    private Long duration;

    @ApiModelProperty("代理人姓名")
    private String assigneeName;

    @ApiModelProperty("代理人")
    private String assignee;

    @ApiModelProperty("审批结果")
    private Boolean approved;

    @ApiModelProperty("审批回复")
    private String  reply;
}
